package com.test.controller;



/**
 * Created by fc on 5/23/17.
 */
@RestController
public class LoginController {


    @RequestMapping("/")
    String home() {
        return "Hello World!";
    }

    @RequestMapping("/login2")
    ModelAndView login(){
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("index.html");
        System.out.println("wron");
        return modelAndView;
    }
}
